import request from './request'
//  增加当日的网站访问次数
export function addTodayVisitor() {
  return request({
    url: '/addTodayVisitor',
    method: 'post',
  })
}

// 获取推荐文章
export function getRecommendArticle(keywords, num) {
  return request({
    url: '/getRecommendArticle',
    method: 'get',
    params: {
      keywords,
      num
    }
  })
}
